Hybris Sales UX API icon

Hybris Sales UX API

(0 reviews)

B2B eSIM Installed Notification (POST)

When eSIM is installed by the customer, the same G+D ( consumer ) system will send notification to Salesforce via ESB.

URL
https://[localhost]:[port]/ecom-sales-ux/v1/{businessId}/esimInstalledNotify
URL Params
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit.Y
Headers
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.Y

Body

Request cURL
curl --location 'https://nonprod.esb.cloud.lla.com/dev/ecom-sales-ux/ecom-sales-ux/v1/PR/esimInstalledNotify' \
--header 'X-Correlation-Id: 678345053765' \
--header 'client_id: abcdefg' \
--header 'client_secret: 1234567890' \
--header 'Content-Type: application/json' \
--data '{
    "created": 1736472909490,
    "origin": "aon360-rsp-srplus-hsa.138fb37f-a9f5-4bcb-a2e9-d6bb3df466a6",
    "action": "Es2PlusHandleDownloadProgressInfoRequest",
    "result": {},
    "key": {
        "iccid": "89017901028200004157",
        "customerId": "36004220993210001", // this is not related to the BSS customer, it’s an internal G+D customer related to the MNO
        "eid": "89049032007108882600136497978579"
    },
    "data": {
        "Data": {
            "header": {
                "functionRequesterIdentifier": "sm-v4-099-a-gtm.pr.go-esim.com",
                "functionCallIdentifier": "0a6f7a46-7140-4fef-88d0-2c33c3829247"
            },
            "eid": "89049032007108882600136497978579",
            "iccid": "89017901028200004157",
            "profileType": "eSIM 02.02",
            "timestamp": "2024-10-02T23:19:36Z",
            "notificationPointId": 1,
            "notificationPointStatus": {
                "status": "Executed-Success"
            }
        },
        "Url": "https: //api.ses-lpr.pub.mobilecore.lla.com:5551/gsma/rsp2/es2plus/handleDownloadProgressInfo/gsma/rsp2/es2plus/handleDownloadProgressInfo"
    }
}'
Definitions

Each of the request parameters is detailed.

nametypedescriptionrequired
data.DataobjectIt contains the Download Progress InfoY
data.Data.iccidstringICCID NumberY

Response

In this section all the possible data structures received by the client at the moment of responding the method are defined.

Possible response success

This section defines all the possible data structures received by the client and that must be considered satisfactory at the time of responding to the method.

[ 200 ]

OK - request processed successfully, response body contains an entity corresponding to the requested resource.

{
    "EsimActivation": true
}
Definitions

Each of the request parameters is detailed.

nametypedescriptionrequired
EsimActivationbooleanAcknowledgement sttaus from SalesforceN

Possible response error

In this section all the possible data structures received by the client are defined and that must be considered as unsatisfactory when responding to the method.

[ 400 ]

Bad Request - the request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

{
    "errors": [
        {
            "code": 400,
            "message": "The request is invalid or not properly formed.",
            "description": "Malformed request syntax, invalid request message framing, or deceptive request routing."
        }
    ]
}
[ 401 ]

Unauthorized - The request has not been applied because it lacks valid authentication credentials for the target resource.

{
    "errors": [
        {
            "code": 401,
            "message": "The user could not be authenticated for this request.",
            "description": "The request has not been applied because it lacks valid authentication credentials for the target resource"
        }
    ]
}
[ 404 ]

Not Found - server has not found a resource with that URI. This may be temporary and permanent condition. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

{
    "errors": [
        {
            "code": 404,
            "message": "The server could not find the requested resource.",
            "description": "The requested operation failed because a resource associated with the request could not be found."
        }
    ]
}
[ 405 ]

Method Not Allowed - HTTP method not allowed for this resource. The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.

{
    "errors": [
        {
            "code": 405,
            "message": "APIKIT:METHOD_NOT_ALLOWED",
            "description": "HTTP Method xxx not allowed for : /{businessId}/esimInstalledNotify"
        }
    ]
}
[ 500 ]

Internal Server Error - server encountered an error processing request. This should not happen normally, but it is a generic error message, given when no more specific message is suitable.

{
    "errors": [
        {
            "code": 500,
            "message": "Internal Server Error",
            "description": "The request failed due to an internal error."
        }
    ]
}
[ 501 ]

Not implemented - indicates that the server does not support the functionality required to fulfill the request. This is the appropriate response when the server does not recognize the request method and is not capable of supporting it for any resource.

{
    "errors": [
        {
            "code": 501,
            "message": "Not implemented",
            "description": "Operation POST /esimInstalledNotify for Business Id: xxxx not implemented"
        }
    ]
}

Reviews